<template>
  <div id='app'>
    <el-checkbox-group v-model='citys' >
     <!--  <el-checkbox :label='A'></el-checkbox>
      <el-checkbox :label='B'></el-checkbox>
      <el-checkbox :label='C'></el-checkbox>
      <el-checkbox :label='D'></el-checkbox> -->
      <el-checkbox  v-for="item in checklist">{{item}}</el-checkbox>
    </el-checkbox-group>
  </div>
</template>

<script>

const array = ["A","B","C","D"]
export default {
name: 'App',
//数据
data() {
    return {
      citys:['A'],
      checklist:array
    }
  },
//组件
components: {},
//方法
methods: {},
//计算属性
computed: {},
//生命周期
mounted() {},
}
</script>
<style lang='scss' scoped>



</style>